<?php
$keywords = preg_split(
"/[\s,p]+/",
 "php,regular expressions");

print_r( $keywords );
